package com.car.carsharing.service;

import com.car.carsharing.dto.TableListDto;
import com.car.carsharing.pojo.Car;

import java.util.List;
import java.util.Map;

public interface CarService {
    TableListDto getAllCars(Map map);

    Car getCarById(Integer carId);

    int addCar(Car car);

    int updateCar(Car car);

    List<Car> getCarNum();
}
